#include "stdafx.h"
#include "craneexports.h"

class CS4ProjetDlg;

class craneControl
{
public:
	craneControl();
	void craneControlInit(CS4ProjetDlg*);
	bool startMoveThread();
	bool startSensorThread();
	Crane* _crane;

private:
	CWinThread *_sensorThread;
	CWinThread *_moveThread;
	CS4ProjetDlg *_parent;
	static UINT UpdateSensors(LPVOID lParam);
	static UINT MoveCrane(LPVOID lParam);
};